import React, { Component } from 'react'

import "./settle_pop.less"
class SettlePop extends Component {
    render() {
        let { changeSettlePop, popisshow } = this.props
        return (
            <div>
                <div className="settle_pop_box" style={popisshow ? { opacity: 1 } : { opacity: 0 }}>
                    为了支持环保，我们将不再主动为可乐、雪碧等不含固形物的冷饮配置吸管，您可以通过"无吸管"杯盖直接饮用。
                    <button className="settle_pop_btn" onClick={() => {
                        changeSettlePop(false)
                    }}>确定</button>
                </div>
            </div>
        )
    }
}

export default SettlePop
